Add a lookbook example for loading inline macros#23876
Conversation
|
nice 🚀 can the vertical alignment get fixed? |
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
df1d38f to
32c65e5
Compare
So a "fix" seems to be to add I'd probably accept this for now. |
| <%= render(OpPrimer::InlineMacroComponent.new) do |c| %> | ||
| <% c.with_leading_visual_icon(icon: :book) %> | ||
|
|
||
| <%= render(Primer::Beta::Spinner.new(size: :small, mr: 2, sr_text: "")) %> |
There was a problem hiding this comment.
I guess this should fix the alignment issue
| <%= render(Primer::Beta::Spinner.new(size: :small, mr: 2, sr_text: "")) %> | |
| <%= render(Primer::Beta::Spinner.new(size: :small, display: :flex, mr: 2, sr_text: "")) %> |
We discussed this during a UX meeting today and it can't hurt to document this as a specific case, because we might have multiple implementations that need to behave like that.
32c65e5 to
028b035
Compare
|
Warning This pull request does not link an OpenProject work package. Please add a link to the work package in the description, or reference it in the |


We discussed this during a UX meeting today and it can't hurt to document this as a specific case, because we might have multiple implementations that need to behave like that.
Screenshot